import { createSlice } from "@reduxjs/toolkit";

import type { RootState } from "@/store";

export const themeSlice = createSlice({
  name: "theme",
  initialState: {
    primaryColor: "#2A68C8",
    systemName: "Merchant Dashboard",
  },
  reducers: {},
});

export const selectPrimaryColor = (state: RootState) => state.theme.primaryColor;

export default themeSlice.reducer;
